package edu.sctu.zcy.month201505.day20150508.text2;

/**
 * Created by Administrator on 2015/5/8/0008.
 */
public class Main {
    public static void main(String[] args) {

        TextThree textThree = new TextThree();

        TextTwo textTwo = new TextTwo();

        System.out.println(textTwo.Cal(textThree) + "\n" + new TextTwo().Cal(textThree));

        textTwo.Cal(textThree);
        textTwo.Cal(textThree);
        textTwo.Cal(textThree);

        System.out.println(textThree.number+"\n" + textTwo.sum);


}
}
